package test;

import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Date;

public class Datett {

	public static void main(String[] args) {
		long i = System.currentTimeMillis();
		Timestamp t = new Timestamp(System.currentTimeMillis());
		System.out.println(t);
		
		Date d = new Date(i);
		SimpleDateFormat df = new SimpleDateFormat();
		System.out.println(df.format(d));
		int mm = 31101177;
		int yy = 31101177;
		System.out.println(mm==yy);
		System.out.println("hello word!");
	}

}
